# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Mark Rosenstand <mark@archlinux.org
# Contributor: Corrado Primier <cp663137@stud.polimi.it>

pkgname=python-pymad
pkgver=0.10
pkgrel=6
pkgdesc='Python interface to libmad'
arch=('loong64' 'x86_64')
url='https://github.com/jaqx0r/pymad'
license=('LGPL')
depends=('libmad' 'python')
makedepends=('git')
source=("$pkgname::git+https://github.com/jaqx0r/pymad.git#tag=version/${pkgver/_/-}")
md5sums=('SKIP')

build() {
  cd $pkgname
  python config_unix.py --prefix=/usr
}

package() {
  cd $pkgname
  python setup.py install --root="$pkgdir"
}

# getver: github.com/jaqx0r/pymad/tags
# vim: ts=2 sw=2 et:
